ProcessSamples(int, Action<byte[], int>)

Method

Namespace: Vox

Declared in: Vox.CaptureDevice


Reads the specified amount of samples from the device and calls the specified callback.

Syntax

public void ProcessSamples(
	int sampleCount,
	Action<byte[], int> callback
)

Parameters

sampleCount

Sample count. Must be less or equal to AvailableSamples .

callback

Callback

Remarks

If you intend to use sample data later, , because the buffer is pooled and will be reused.
Back to index